package sz.szsmk.citizencard.mvp.contract;

import android.view.View;

import java.util.ArrayList;

import sz.szsmk.citizencard.model.network.dzbean.res.BankCard;
import sz.szsmk.citizencard.model.network.dzbean.res.CheckPsdRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface IFirstRechargeContact {

    interface IFirstRechargePresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {
        void chargeMoney(int money, String bankCard);

        void checkPwdSetting(String openId, String channelId, String token, View view);

        void checkPayPassword(String s, String openId, String token, String password);

        void gainMyBankCard();
    }

    interface IFirstRechargeView extends IBaseContact.IBaseView {

        void chargeMoneyFail();

        void chargeMoneySucc();

        void checkPwdSettingSucc(CheckPsdRes ibaseBean, View view);

        void checkPwdSettingFail();

        void checkPayPasswordFail();

        void checkPayPasswordSucc();

        void gainMyBankCardFail();

        void gainMyBankCardSucc(ArrayList<BankCard> list);
    }


}
